Locating the Machine Check Logout Frame

The location of the Machine Check Logout Frame (MCLF) varies from system to system, and could possibly change for different versions of the same system. For that reason, the following procedure should be used to find the structure.

The SRM Console command >>> SHOW HWRPB returns the physical address of the Hardware Restart Parameter Block (HWRPB). That address contains its own physical address.

HWRPB offset A0h contains an offset relative to the beginning of the HWRPB that points to the Per-CPU Slot data structure for Monet. Note that this is a single-processor system, so we always use CPU zero.

Offset D8h from the beginning of the Per-CPU Slot information contains the physical address of the Corrected Error Frame (CEF).

Offset 00h of the CEF contains its length. Since the MCLF immediately follows the Corrected Error Frame, add this value to get the address of the MCLF.

The following is an example of the Console commands.

CommandDescription
>>> show hwrpb 
HWRPB is at 2000<- physical address of HWRPB
>>> e -p 20a02000+A0
PMEM: 20A0 000001C0<- offset of Per-CPU Slot
>>> e -p 22982000+1c0+D8
PMEM: 2298 00006000<- physical address of CEF
>>> e -p 60006000
PMEM: 6000 00000068<- offset to MCLF
>>> e -p 60686000+68+10
PMEM: 6078 00000098<- machine check code